We are listening to page-added and emit child_changed::added
in response to that, so don't let the add_gtk handler add
extraneous extra signal emissions. This fixes the child-handling
test for GtkNotebook.
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
AtkObjectClass *class = ATK_OBJECT_CLASS (klass);
GailWidgetClass *widget_class = (GailWidgetClass*)klass;
+ GailContainerClass *container_class = (GailContainerClass*)klass;
+
gobject_class->finalize = gtk_notebook_accessible_finalize;
class->initialize = gtk_notebook_accessible_initialize;
widget_class->notify_gtk = gtk_notebook_accessible_notify_gtk;
+
+ /* we listen to page-added/-removed, so we don't care about these */
+ container_class->add_gtk = NULL;
+ container_class->remove_gtk = NULL;
}
static void